package com.lianzai.stat.service;

import com.lianzai.camera.model.CameraBlackAndWhiteDO;

import java.util.List;
import java.util.Map;

/**
 * 查询统计信息
 * @author zb
 * @email 1106900429@qq.com
 * @date 2019-7-28 22:09:40
 */
public interface StatService {

    Map queryCompositeStat();

    List<Map> queryParkingStat();

    List<Map> queryCommunityMapList();

    Map queryUserTotal();

    void addDeviceNum(int communityId);

    void subDeviceNum(int communityId);

    void addUserPark(Long communityId);

    void subUserPark(Long communityId);

    List<Map> queryCommunityFeeByMonth(Map map);

    Map queryYearFeeMap(Map map);

    Map queryMonthFeeMap(Map map);

    List<Map> queryFeeByDateAndCommunity(Map map);

    void insertStatFee(Map map);

    void updateStatFee(Map map);

}
